package org.jeecg.modules.yw.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.jeecg.common.system.base.entity.JeecgEntity;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("announcement_scopes")
public class AnnouncementScope implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键ID")
    private String id; // 主键id

    @ApiModelProperty(value = "公告ID")
    private String announcementId; // 公告id

    @ApiModelProperty(value = "角色ID")
    private Integer roleId; // 角色id

    @ApiModelProperty(value = "创建时间")
    private Date createtime; // 创建时间
}
    